package com.deer.wms.system.manage.dao;

import com.deer.wms.project.root.mapper.SuperMapper;
import com.deer.wms.system.manage.model.DataDictMaster;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wei
 */
public interface DataDictMasterMapper extends SuperMapper<DataDictMaster> {
    /**
     * 通过数据字典编码查询
     * @param dataDictCode 字典编码查询
     * @return List<DataDictMaster>
     */
    List<DataDictMaster> findByCode(@Param("dataDictCode")String dataDictCode);

    /**
     * 通过数据字典名称查询
     * @param dataDictName 字典名称查询
     * @return List<DataDictMaster>
     */
    List<DataDictMaster> findByName(@Param("dataDictName")String dataDictName);
}